﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

namespace FoodModel
{
    /// <summary>
    /// 口味表
    /// </summary>
    [Table("TasteModel")]
    public class TasteModel
    {
        /// <summary>
        /// 口味表ID
        /// </summary>
        [Key]
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int TasteId { get; set; }
        /// <summary>
        /// 口味名称
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public string? TasteName { get; set; }
    }
}
